@import "../../../../src/less/quote/color.less";
.com-load{
  //position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;

  .load-main{
    position: relative;
    display: inline-block;
    //width: 120px;
    padding:10px 15px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    color:@cf;

    .load-animate{
      position: relative;
      display: inline-block;
      //竖线列表
      .animate-list {
        display: inline-block;
        width: 2px;
        height:15px;
        animation-fill-mode: both;
        border-radius:25%;
        background-color: @ceb;
        margin-left:2px;
      }
    }
    @keyframes animate-list {
      50% {
        transform:scaleY(0.6)
      }
      100% {
        transform:scaleY(1)
      }
    }
    .load-animate  > div:nth-child(1) {
      animation: animate-list 1s infinite ease-in-out;
    }
    .load-animate  > div:nth-child(2) {
      animation: animate-list 1s 0.5s infinite ease-in-out;
    }
    .load-animate  > div:nth-child(3) {
      animation: animate-list 1s 0.2s infinite ease-in-out;
    }
    .load-animate  > div:nth-child(4) {
      animation: animate-list 1s 0.8s infinite ease-in-out;
    }

    //==================//
    .animate-text{
      font-size: 13px;
      margin-left: 6px;
      //letter-spacing: 1px;
      vertical-align: text-top;
    }
  }
}

//第二个样式
.com-load2{
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background: rgba(255,255,255,.4);

  @keyframes animate-main2{
    100% {
      transform:rotate(360deg);
    }
  }
  .animate-main2{
    position:absolute;
    top:48%;
    left:50%;
    //transform: translate(-50%,-50%);
    margin-left: -15px;
    margin-top: -15px;
    height:30px;
    width: 30px;
    border:2px solid @com-main-a;
    border-radius:50%;
    border-top-color:transparent;
    border-bottom-color:transparent;
    animation-fill-mode: both;
    animation: animate-main2 0.7s infinite linear;
    .animate-main2-child{
      position:relative;
      height:12px;
      width: 12px;
      left:7px;
      top:7px;
      transform:rotate(90deg);
      border:2px solid @com-main-a;
      border-radius:100%;
      border-top-color:transparent;
      border-bottom-color:transparent;
      animation-fill-mode: both;
    }
  }
  .loading-text{
    position:absolute;
    margin-top: 28px;
    font-size: 13px;
    color:@com-main-a;
    top:48%;
    left:50%;
    transform: translate(-50%,-48%);
  }
}